﻿@inject NavigationManager NavigationManager


<PageTitle>404</PageTitle>

<Result Status="404"
        Title="404"
        SubTitle="抱歉，没有找到该网页。">
    <Extra>
        <Button Type="primary" @onclick="GoBackHome">返回主页</Button>
    </Extra>
</Result>


@code {
    private void GoBackHome()
    {
        NavigationManager.NavigateTo("/", true);
    }
}